package com.huatai.datacenter.entity.datamodel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author gusiyi
 * @version 1.0
 * @className DataModelTypeEntity
 * @description 描述：
 * @date 2023/5/25 15:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_data_model_type")
@ApiModel(value = "数据模型类型实体类",description = "数据模型类型实体类")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DataModelTypeEntity extends DataModelBaseEntity{

	@TableId(value = "id",type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "模型类型id",required = true)
	private Long id;

	@ApiModelProperty(value = "模型类型名称",required = true)
	private String name;

	@ApiModelProperty("备注/描述")
	private String remark;

}
